﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using T3._1.Models;

namespace T3._1.Controllers
{
    public class DefaultController : Controller
    {
        // GET: Default
        
        public ActionResult Index()
        {
                       
            return View();
        }
        [HttpPost]
        public ActionResult Index(Student student)
        {
            ViewBag.Stu = student;
            return View();
        }

    }
}